/**
 * @file desktop.h
 *
 */
#ifndef DESKTOP_H
#define DESKTOP_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/

#ifdef LV_CONF_INCLUDE_SIMPLE
#include "lvgl.h"
#include "lv_watch_conf.h"
#else
#include "../../../lvgl/lvgl.h"
#include "../../../lv_watch_conf.h"
#endif

#if USE_LV_WATCH_DESKTOP != 0

/*********************
 *      DEFINES
 *********************/

/**********************
 *      TYPEDEFS
 **********************/

/**********************
 * GLOBAL PROTOTYPES
 **********************/

/**
 * Create a desktop application
 */
lv_obj_t * desktop_create(lv_obj_t * tabview);
void desktop_add_element(lv_obj_t * element);

/**********************
 *      MACROS
 **********************/

#endif /*USE_LV_WATCH_DESKTOP*/

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /*DESKTOP_H*/
